package 面向对象初级.类和对象;

public class Dog {
        String teyp = "柯基";
        String name = "旺仔";
        int age = '3';
        public void eat () {
            System.out.println("旺仔喜欢吃火腿");
        }
    }
class Dog01{
    public static void main(String[] args) {
        String personName="小明";
        String personAge="20";
    }
}

